package com.mycat.auth.dao.mapper;


import com.mycat.auth.dao.core.MyBatisBaseMapper;
import com.mycat.auth.domain.Role;

import java.util.List;

/**
* RoleMapper
* Date:2016-8-26 16:02:39
* @author Roger
*/
public interface RoleMapper extends MyBatisBaseMapper<Role> {

    Role selectRole(Role role);

    /**
     * 获取该AdminId下关联的角色
     * @param adminId
     * @return
     */
    List<Role> selectRoles(Integer adminId);
}